/* $Id: UserServiceSecurityDomainObjectManager.java 
 * Copyright (C) 2011, TRAKHEES
 *  
 * Revision History
 *
 * Date  			Author 		    	Remarks
 * ---------------------------------------------------------------------------------
 *
 */
package ae.pcfc.etks.online.common.domain.manager;

import java.util.List;

import ae.pcfc.etks.online.common.domain.UserServiceSecurity;

public interface UserServiceSecurityDomainObjectManager extends
		BaseDomainObjectManager {
	/**
	 * delete
	 * 
	 * @see ae.pcfc.etks.online.common.domain.manager.BaseDomainObjectManager#delete(java.lang.Object)
	 * 
	 */
	public <T> void delete(T obj);
	/**
	 * findByUserName
	 * Method to find the user service securities associated with a user (username)
	 * @param username
	 * @return
	 * List<UserServiceSecurity>
	 */
	public List<UserServiceSecurity> findByUserName(String username);
	/**
	 * findByUserNameWithoutDefault
	 * Method to find the user service securities associated with the user except the specified defaults
	 * @param username
	 * @param arrDefaults
	 * @return
	 * List<UserServiceSecurity>
	 */
	public List<UserServiceSecurity> findByUserNameWithoutDefault(String username, String[] arrDefaults);
	/**
	 * findUserServiceSecurity
	 * Method to find the user service securities based on search criteria
	 * @param userServiceSecurity
	 * @return
	 * List<UserServiceSecurity>
	 */
	public List<UserServiceSecurity> findUserServiceSecurity(UserServiceSecurity userServiceSecurity);
}
